package com.engine4cloud.tdf.supervision.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.engine4cloud.tdf.common.data.datascope.TdfBaseMapper;
import com.engine4cloud.tdf.supervision.dto.result.JzdxCustomFenceSelectResultDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxElectronicCoordinateResultDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxElectronicFenceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface JzdxElectronicFenceMapper extends TdfBaseMapper<JzdxElectronicFenceEntity> {
    IPage<JzdxCustomFenceSelectResultDTO> pageList(Page<Object> page, @Param("fenceType") String fenceType, @Param("keywords") String keywords, @Param("deptIdList") List<Long> deptIdList);

    List<JzdxElectronicCoordinateResultDTO> findCoordinateList(@Param("code") String code);
}